package com.lyy.lottery.controller.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreatePrizeActivityParam {
    //活动关联的奖品信息
    //奖品id
    @NotNull(message = "活动关联奖品id不能为空")
    private Long prizeId;

    //奖品数量
    @NotNull(message = "活动关联奖品数量不能为空")
    private Long prizeAmount;

    //奖品等级
    @NotBlank(message = "活动关联奖品等级不能为空")
    private String prizeTiers;
}






















